namespace('base.position');

base.position.init = function(){
	$('.delete').click(function(){
		$('#btnConfirmDeletePosition').attr('positionId', $(this).attr('positionId'));
		$('#modalConfirmDeletePosition').modal({});
	});
	
	$('#btnConfirmDeletePosition').click(function(){
		toLocation('base/position/position!delete.action?id=' 
				+ $(this).attr('positionId'));
	});
};